Show language: C# VB.NET Both
See here for a complete code example
DocumentIndex documentIndex = new DocumentIndex(configuration);
documentIndex.ImportWebsite(...url..);
documentIndex.Close();
Dim documentIndex As New DocumentIndex(configuration)
documentIndex.ImportWebsite(...url...)
documentIndex.Close()
DocumentIndex documentIndex = new DocumentIndex(configuration);
documentIndex.ImportFileSystemFolder(localFolderPath, virtualPath, targetMatchList, ignoreMatchList, recurseSubFolders);
documentIndex.Close();
Dim documentIndex As New DocumentIndex(configuration)
documentIndex.ImportFileSystemFolder(localFolderPath, virtualPath, targetMatchList, ignoreMatchList, recurseSubFolders)
documentIndex.Close()
DocumentIndex documentIndex = new DocumentIndex(configuration);
documentIndex.ImportDatabase(sourceType, connectionString, sqlQuery, uniqueColumnName, resultUrlFormat);
documentIndex.Close();
Dim documentIndex As New DocumentIndex(configuration)
documentIndex.ImportDatabase(sourceType, connectionString, sqlQuery, uniqueColumnName, resultUrlFormat)
documentIndex.Close()
DocumentIndex documentIndex = new DocumentIndex(configuration);
documentIndex.ImportCustomDataSet(assemblyFilePath, fullClassName, uniqueColumnName, resultUrlFormat);
documentIndex.Close();
Dim documentIndex As New DocumentIndex(configuration)
documentIndex.ImportCustomDataSet(assemblyFilePath, fullClassName, uniqueColumnName, resultUrlFormat)
documentIndex.Close()